import Vue from 'vue';
import Router from 'vue-router';
Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: () => import('@/pages/Index.vue'),
      meta: {
        headerShow: false,
        title: '首页'
      }
    }, {
      path: '/login',
      name: 'login',
      component: () => import('@/pages/login.vue'),
      meta: {
        headerShow: false,
        title: '登陆'
      }
    }, {
      path: '/SmartService',
      name: 'SmartService',
      component: () => import('@/pages/SmartService.vue'),
      meta: {
        headerShow: true,
        title: '智能服务'
      }
    }, {
      path: '/MyLife',
      name: 'MyLife',
      component: () => import('@/pages/MyLife.vue'),
      meta: {
        headerShow: true,
        title: '我的生活'
      }
    }, {
      path: '/MessageSend',
      name: 'MessageSend',
      component: () => import('@/pages/MessageSend.vue'),
      meta: {
        headerShow: true,
        title: '留言献花'
      }
    }, {
      path: '/MessageDetail',
      name: 'MessageDetail',
      component: () => import('@/pages/MessageDetail.vue'),
      meta: {
        headerShow: true,
        title: '追忆缅怀'
      }
    }, {
      path: '/MessageList',
      name: 'MessageList',
      component: () => import('@/pages/MessageList.vue'),
      meta: {
        headerShow: true,
        title: '追忆缅怀'
      }
    }, {
      path: '/AdviceSend',
      name: 'AdviceSend',
      component: () => import('@/pages/AdviceSend.vue'),
      meta: {
        headerShow: true,
        title: '建言献策'
      }
    }, {
      path: '/mineInfo',
      name: 'mineInfo',
      component: () => import('@/pages/mineInfo.vue'),
      meta: {
        headerShow: true,
        title: '我的'
      }
    },
    {
      path: '/informationFeedBack',
      name: 'informationFeedBack',
      component: () => import('@/pages/informationFeedBack.vue'),
      meta: {
        headerShow: true,
        title: '信息反馈'
      }
    },
    {
      path: '/subscribeFeedback',
      name: 'subscribeFeedback',
      component: () => import('@/pages/subscribeFeedback.vue'),
      meta: {
        headerShow: true,
        title: '信息反馈'
      }
    },
    {
      path: '/workList',
      name: 'workList',
      component: () => import('@/pages/workList.vue'),
      meta: {
        headerShow: true,
        title: ''
      }
    },
    {
      path: '/announcement',
      name: 'announcement',
      component: () => import('@/pages/announcement.vue'),
      meta: {
        headerShow: true,
        title: '通知公告'
      }
    },
    {
      path: '/newsDetails',
      name: 'newsDetails',
      component: () => import('@/pages/newsDetails.vue'),
      meta: {
        headerShow: true,
        title: '详情'
      }
    },
    {
      path: '/activitySignUp',
      name: 'activitySignUp',
      component: () => import('@/pages/activitySignUp.vue'),
      meta: {
        headerShow: true,
        title: '活动报名'
      }
    },
    {
      path: '/orgInfo',
      name: 'orgInfo',
      component: () => import('@/pages/orgInfo.vue'),
      meta: {
        headerShow: true,
        title: '支部信息'
      }
    },
    {
      path: '/dangCostList',
      name: 'dangCostList',
      component: () => import('@/pages/dangCostList.vue'),
      meta: {
        headerShow: true,
        title: '党费缴纳查询'
      }
    },
    {
      path: '/payDetail',
      name: 'payDetail',
      component: () => import('@/pages/payDetail.vue'),
      meta: {
        headerShow: true,
        title: '党费缴纳查询'
      }
    },
    {
      path: '/PensionList',
      name: 'PensionList',
      component: () => import('@/pages/PensionList.vue'),
      meta: {
        headerShow: true,
        title: '离退休费查询'
      }
    },
    {
      path: '/PensionDetail',
      name: 'PensionDetail',
      component: () => import('@/pages/PensionDetail.vue'),
      meta: {
        headerShow: true,
        title: '离退休费查询'
      }
    },
    {
      path: '/medicalHeathCare',
      name: 'medicalHeathCare',
      component: () => import('@/pages/medicalHeathCare.vue'),
      meta: {
        headerShow: true,
        title: '医疗保健'
      }
    },
    {
      path: '/NoticeList',
      name: 'NoticeList',
      component: () => import('@/pages/NoticeList.vue'),
      meta: {
        headerShow: true,
        title: '通知公告'
      }
    },
    {
      path: '/NewspaperList',
      name: 'NewspaperList',
      component: () => import('@/pages/NewspaperList.vue'),
      meta: {
        headerShow: true,
        headRight: '问题反馈',
        headRightPath: 'subscribeFeedback',
        title: '报刊订阅'
      }
    },
    {
      path: '/NewspaperSubscribe',
      name: 'NewspaperSubscribe',
      component: () => import('@/pages/NewspaperSubscribe.vue'),
      meta: {
        headerShow: true,
        title: '报刊订阅'
      }
    },
    {
      path: '/ActivityApply',
      name: 'ActivityApply',
      component: () => import('@/pages/ActivityApply.vue'),
      meta: {
        headerShow: true,
        title: '参加社会活动信息'
      }
    },
    {
      path: '/PartTimeWorkApply',
      name: 'PartTimeWorkApply',
      component: () => import('@/pages/PartTimeWorkApply.vue'),
      meta: {
        headerShow: true,
        title: '参加社会兼职申请'
      }
    },
    {
      path: '/ReturnVisitForm',
      name: 'ReturnVisitForm',
      component: () => import('@/pages/ReturnVisitForm.vue'),
      meta: {
        headerShow: true,
        title: '回访表填写'
      }
    },
    {
      path: '/AbroadApply',
      name: 'AbroadApply',
      component: () => import('@/pages/AbroadApply.vue'),
      meta: {
        headerShow: true,
        title: '因私出国境申请'
      }
    },
    {
      path: '/AbroadEntryExitApplication',
      name: 'AbroadEntryExitApplication',
      component: () => import('@/pages/AbroadEntryExitApplication.vue'),
      meta: {
        headerShow: true,
        title: '出入境申请表'
      }
    },
    {
      path: '/activityDetail',
      name: 'activityDetail',
      component: () => import('@/pages/activityDetail.vue'),
      meta: {
        headerShow: true,
        title: '活动详情'
      }
    },
    {
      path: '/hospitalSign',
      name: 'hospitalSign',
      component: () => import('@/pages/hospitalSign.vue'),
      meta: {
        headerShow: true,
        title: '住院登记'
      }
    },
    {
      path: '/medicalService',
      name: 'medicalService',
      component: () => import('@/pages/medicalService.vue'),
      meta: {
        headerShow: true,
        title: '医疗服务指南'
      }
    },
    {
      path: '/medicalServiceDetail',
      name: 'medicalServiceDetail',
      component: () => import('@/pages/medicalServiceDetail.vue'),
      meta: {
        headerShow: true,
        title: '医疗服务指南'
      }
    },
    {
      path: '/hospitalNotJing',
      name: 'hospitalNotJing',
      component: () => import('@/pages/hospitalNotJing.vue'),
      meta: {
        headerShow: true,
        title: '京外就医备案'
      }
    },
    {
      path: '/physicalPlan',
      name: 'physicalPlan',
      component: () => import('@/pages/physicalPlan.vue'),
      meta: {
        headerShow: true,
        title: '体检预约'
      }
    },
    {
      path: '/healthCheckUpSign',
      name: 'healthCheckUpSign',
      component: () => import('@/pages/healthCheckUpSign.vue'),
      meta: {
        headerShow: true,
        title: '体检报名'
      }
    },
    {
      path: '/outpatientApplication',
      name: 'outpatientApplication',
      component: () => import('@/pages/outpatientApplication.vue'),
      meta: {
        headerShow: true,
        title: '门诊登记'
      }
    },
    {
      path: '/changeDesignatedHospital',
      name: 'changeDesignatedHospital',
      component: () => import('@/pages/changeDesignatedHospital.vue'),
      meta: {
        headerShow: true,
        title: '定点医院变更'
      }
    },
    {
      path: '/installPhone',
      name: 'installPhone',
      component: () => import('@/pages/installPhone.vue'),
      meta: {
        headerShow: true,
        title: '急救电话申请安装'
      }
    },
    {
      path: '/detail',
      name: 'detail',
      component: () => import('@/pages/commonDetail.vue'),
      meta: {
        headerShow: true,
        title: ''
      }
    },
    {
      path: '/MyBranch',
      name: 'MyBranch',
      component: () => import('@/pages/MyBranch.vue'),
      meta: {
        headerShow: true,
        title: '我的支部'
      }
    },
    {
      path: '/presenceShow',
      name: 'presenceShow',
      component: () => import('@/pages/presenceShow.vue'),
      meta: {
        headerShow: true,
        title: '风采展示'
      }
    },
    {
      path: '/presenceShowDetails',
      name: 'presenceShowDetails',
      component: () => import('@/pages/presenceShowDetails.vue'),
      meta: {
        headerShow: true,
        title: '视频播放'
      }
    }
  ]
});
